//
//  TracePrototypes.h
//  airfight
//
//  Created by aaron more on 12-9-19.
//  Copyright (c) 2012年 moonriver. All rights reserved.
//

#ifndef airfight_TracePrototypes_h
#define airfight_TracePrototypes_h

#include "cocos2d.h"
#include "Trace.h"

USING_NS_CC;

class TracePrototypes : public CCObject
{
private:
    CCDictionary* tracePrototype_Dict;
public:
    TracePrototypes();
    virtual ~TracePrototypes();
    virtual bool init(void);
    virtual Trace* getTraceByID(int p_id);
    virtual void addTrace(Trace* p_trace);
    
    /** returns a single instance of the TracePrototypes */
    static TracePrototypes* getInstance(void);
    
    static TracePrototypes *s_SharedTracePrototypes;
};
#endif
